tyle> .text {font-family: Courier; font-size: 12px; color: #000080;}
|
Displaying a list of style sets, and application of a selected style
Style libraries are frequently used for displaying accessible style sets in such controls as “ComboBox” or “ListBox.” After that, the set, selected by a user, is applied to a report. Displaying the list: StyleSheet.GetList(ComboBox1.Items); Usage of the selected set to a report: frxReport1.Styles := StyleSheet.Items[ComboBox1.ItemIndex]; or frxReport1.Styles := StyleSheet.Find[ComboBox1.Text]; |